Matthias Clasen [Tue, 9 Dec 2014 23:17:01 +0000 (18:17 -0500)]
inspector: Another indentation fix
Matthias Clasen [Tue, 9 Dec 2014 22:49:23 +0000 (17:49 -0500)]
inspector: Reindent ui file
Matthias Clasen [Tue, 9 Dec 2014 05:41:11 +0000 (00:41 -0500)]
Make gtk_tree_model_foreach robust
Make gtk_tree_model_foreach safe for callbacks that modify
the model, even if the model does not have persistent iters.
https://bugzilla.gnome.org/show_bug.cgi?id=722781
Matthias Clasen [Tue, 9 Dec 2014 05:22:56 +0000 (00:22 -0500)]
Don't compare booleans
Just use negation.
Christian Hergert [Tue, 9 Dec 2014 04:19:23 +0000 (20:19 -0800)]
window: fallback to window muxer if no widget has focus
This ensures that we can still match accelerators for the window even
if no widget currently has focus.
Carlos Soriano [Wed, 3 Dec 2014 14:53:59 +0000 (15:53 +0100)]
gtkwindow: Use actions from focused widget to activate accel
Currently we only take into account the window GActionGroup for
activating the accels.
However, the application could have some custom GActionGroup in the
chain of focused widgets that could want to activate some action if
some accel is activated while that widget is focused.
To allow applications to set accels on widgets that use custom
GActionGroups, simply use the muxer of the focused widget, which
already contains the actions of the parents.
https://bugzilla.gnome.org/show_bug.cgi?id=740682
Matthias Clasen [Tue, 9 Dec 2014 00:34:23 +0000 (19:34 -0500)]
Fix another header guard oversight
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741252
Matthias Clasen [Tue, 9 Dec 2014 00:31:56 +0000 (19:31 -0500)]
Fix some oversights with header guards
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741254
Alexander Larsson [Mon, 1 Dec 2014 14:37:05 +0000 (15:37 +0100)]
Inspector: Support extending the inspector using GIOModules
This allows external modules to add a page to the Gtk Inspector.
https://bugzilla.gnome.org/show_bug.cgi?id=740983
Matthias Clasen [Mon, 8 Dec 2014 20:39:15 +0000 (15:39 -0500)]
Trivial off-by-one fix
We have a tenth example.
Matthias Clasen [Mon, 8 Dec 2014 20:38:41 +0000 (15:38 -0500)]
Drop a few unneeded ifs
It does not hurt to pass NULL to g_list_free().
Muhammet Kara [Mon, 8 Dec 2014 19:38:02 +0000 (19:38 +0000)]
Updated Turkish translation
Muhammet Kara [Mon, 8 Dec 2014 19:20:34 +0000 (19:20 +0000)]
Updated Turkish translation
Matthias Clasen [Mon, 8 Dec 2014 14:16:24 +0000 (09:16 -0500)]
GtkWidget: Don't return FALSE as a pointer
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741251
Matthias Clasen [Mon, 8 Dec 2014 14:15:07 +0000 (09:15 -0500)]
GtkPlacesSidebar: Don't return FALSE as a pointer
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741250
Matthias Clasen [Mon, 8 Dec 2014 14:13:57 +0000 (09:13 -0500)]
GtkMenuTracker: Don't return FALSE as a pointer
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741249
Matthias Clasen [Mon, 8 Dec 2014 11:39:19 +0000 (06:39 -0500)]
GtkEntry: Refresh when activity ends
We need to queue a redraw when pulse mode is ended by
setting a fraction. Noticed in gtk3-demo's search entry demo.
Kjell Ahlstedt [Fri, 11 Apr 2014 16:52:39 +0000 (18:52 +0200)]
docs: Explain 'icon theme context' better in gtkicontheme.c
Add links from gtk_icon_theme_list_contexts() to
gtk_icon_theme_list_icons(), and from there to the Icon Theme
Specification and the Icon Naming Specification.
https://bugzilla.gnome.org/show_bug.cgi?id=461249
Matthias Clasen [Mon, 8 Dec 2014 04:28:52 +0000 (23:28 -0500)]
Handle KP keys in copy/paste keybindings
We currently handle KP variants of some keys, but not consistenly.
https://bugzilla.gnome.org/show_bug.cgi?id=364566
Phillip Wood [Sun, 22 Dec 2013 18:17:32 +0000 (18:17 +0000)]
Editable cells demo: Add new row at cursor
Adding rows to the bottom of the list is confusing as you cannot see
them if the window is small so it is not apparent that anything has
happened. Fix this by adding the new row immediately below the current
row and set the cursor on the new row so it is ready to be edited.
https://bugzilla.gnome.org/show_bug.cgi?id=721939
Matthias Clasen [Sun, 7 Dec 2014 23:12:46 +0000 (18:12 -0500)]
Add a note to the ::destroy docs
Clarify that ::destroy is not suitable for saving widget state.
https://bugzilla.gnome.org/show_bug.cgi?id=710793
Trần Ngọc Quân [Sun, 7 Dec 2014 08:06:11 +0000 (15:06 +0700)]
Updated Vietnamese translation
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
Emmanuele Bassi [Sat, 6 Dec 2014 13:30:24 +0000 (13:30 +0000)]
examples: Fix clean rule in stand alone Makefiles
Remove all the built files, including the exampleapp binary.
Emmanuele Bassi [Sat, 6 Dec 2014 13:25:01 +0000 (13:25 +0000)]
examples: Add stand alone Makefile for application10
Missed out on the last application examples.
Ankita Patil [Thu, 6 Nov 2014 12:16:02 +0000 (17:46 +0530)]
GtkEntry: Added gtk_entry_grab_focus_without_selection()
Providing a way to focus an entry without selecting its contents.
https://bugzilla.gnome.org/show_bug.cgi?id=735838
Matthias Clasen [Sat, 6 Dec 2014 02:24:43 +0000 (21:24 -0500)]
GtkTextTag: Add two missing property set cases
These were overlooked when adding ::fallback and ::letter-spacing
recently.
Matthias Clasen [Sat, 6 Dec 2014 01:05:46 +0000 (20:05 -0500)]
Update docs
Document new fields in GtkTextAttributes, remove redundant comments.
Matthias Clasen [Sat, 6 Dec 2014 00:58:23 +0000 (19:58 -0500)]
Minor documentation fixes
Matthias Clasen [Sat, 6 Dec 2014 00:29:39 +0000 (19:29 -0500)]
Raleigh: Fix css for active notebook tabs
This was not kept up-to-date when we changed notebootk
tab rendering.
https://bugzilla.gnome.org/show_bug.cgi?id=741185
Carlos Soriano [Thu, 4 Dec 2014 15:21:46 +0000 (16:21 +0100)]
gtkscale: Draw smaller marks
As a design request, use smaller marks.
https://bugzilla.gnome.org/show_bug.cgi?id=741117
Carlos Soriano [Fri, 5 Dec 2014 10:09:56 +0000 (11:09 +0100)]
widget-factory: Add a discontinuous GtkScale with marks
So designers can tweak the marks and developers can see how a
discontinuos scale is implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=741117
Matthias Clasen [Fri, 5 Dec 2014 04:28:33 +0000 (23:28 -0500)]
Add epoxy to GTK_PRIVATE_PACKAGES
We are using epoxy api in GtkGLArea, so we need to link against it.
https://bugzilla.gnome.org/show_bug.cgi?id=740162
Matthias Clasen [Fri, 5 Dec 2014 03:26:14 +0000 (22:26 -0500)]
places sidebar: Fix the sort function
When returning 1 for a pair (a,b), a sort function must
return -1 for the pair (b,a), otherwise things can go
badly.
https://bugzilla.gnome.org/show_bug.cgi?id=739729
Debarshi Ray [Tue, 11 Nov 2014 18:02:22 +0000 (19:02 +0100)]
file-chooser: Don't wait for ENTER to initiate search
Most of the core GNOME applications (eg., gnome-control-center,
gnome-documents, and nautilus) start searching as soon as the text
changes, and don't wait for the user to hit ENTER. It would be nice to
follow the same pattern.
https://bugzilla.gnome.org/show_bug.cgi?id=739977
Matthias Clasen [Thu, 4 Dec 2014 05:08:30 +0000 (00:08 -0500)]
Allow inserting Pango markup in text buffers
This has been a very long-standing feature request.
https://bugzilla.gnome.org/show_bug.cgi?id=59390
Matthias Clasen [Thu, 4 Dec 2014 04:13:13 +0000 (23:13 -0500)]
GtkTextView: Add fallback and letter-spacing support
Add support for the Pango attributes controlling font fallback
and letter spacing to GtkTextTag.
https://bugzilla.gnome.org/show_bug.cgi?id=740954
Piotr Drąg [Wed, 3 Dec 2014 14:31:23 +0000 (15:31 +0100)]
Updated POTFILES.skip
Jakub Steiner [Wed, 3 Dec 2014 10:42:06 +0000 (11:42 +0100)]
HC: use child istead of descendant selectors for linking
Since widgets subelements are now both widget childs and widget
classes, say .spinbutton.button and .spinbutton .button,
the linking logic needs to be adapted to be stricter with
child selectors. This fixes vertically linked spinbuttons.
Jakub Steiner [Tue, 2 Dec 2014 14:00:30 +0000 (15:00 +0100)]
HC: sidebars and vertical toolbars with borders
- the assumption for vertical toolbar being on the left is perhaps
a little daring, but...
https://bugzilla.gnome.org/show_bug.cgi?id=740859
Lapo Calamandrei [Wed, 3 Dec 2014 10:29:12 +0000 (11:29 +0100)]
Adwaita: use child istead of descendant selectors for linking
Since widgets subelements are now both widget childs and widget
classes, say .spinbutton.button and .spinbutton .button, the linking
logic needs to be adapted to be stricter with child selectors.
This fixes vertically linked spinbuttons.
Chun-wei Fan [Tue, 2 Dec 2014 07:57:17 +0000 (15:57 +0800)]
test/gtkgears.c: Fix Builds on Systems Without M_PI
Use G_PI in place of M_PI to fix the build on compilers that do not have
M_PI defined.
https://bugzilla.gnome.org/show_bug.cgi?id=740795
Trinh Anh Ngoc [Tue, 2 Dec 2014 15:09:21 +0000 (22:09 +0700)]
Add separator
https://bugzilla.gnome.org/show_bug.cgi?id=741027
Trinh Anh Ngoc [Tue, 2 Dec 2014 14:27:23 +0000 (21:27 +0700)]
Remove icon view window shadow
https://bugzilla.gnome.org/show_bug.cgi?id=741027
Matthias Clasen [Wed, 3 Dec 2014 01:06:33 +0000 (20:06 -0500)]
Reshuffle some docs
Matthias Clasen [Wed, 3 Dec 2014 00:54:33 +0000 (19:54 -0500)]
Use resources for icons
This fixes icons after the recent directory reshuffling, and
is just the right thing to do, since these icons are in resources
anyway.
Matthias Clasen [Wed, 3 Dec 2014 00:13:24 +0000 (19:13 -0500)]
Improve action-namespace example
This needs to have some space around the button for the popover
to show up.
Emmanuele Bassi [Tue, 2 Dec 2014 19:27:52 +0000 (19:27 +0000)]
docs: Mention the standalone Makefile for examples
And point to the README file.
https://bugzilla.gnome.org/show_bug.cgi?id=741041
Emmanuele Bassi [Tue, 2 Dec 2014 19:21:18 +0000 (19:21 +0000)]
docs: Add a README to the examples directory
https://bugzilla.gnome.org/show_bug.cgi?id=741041
Emmanuele Bassi [Tue, 2 Dec 2014 19:15:03 +0000 (19:15 +0000)]
Add standalone Makefile for the examples
We want to allow people to build the examples easily, without
necessarily requiring them to build the whole of GTK+.
https://bugzilla.gnome.org/show_bug.cgi?id=741041
Carlos Garnacho [Tue, 2 Dec 2014 14:44:04 +0000 (15:44 +0100)]
popover: make smarter wrt previous focus widget lifetime
If the previous focus widget is unmapped (eg. hidden, scheduled for
destruction, etc), make the popover forget about it and grant focus
back to the window itself.
Marco Trevisan (Treviño) [Tue, 2 Dec 2014 13:59:47 +0000 (14:59 +0100)]
gdkgl: pass the correct number of quads to gdk_gl_texture_quads
And call it only if that's the case
Matthias Clasen [Tue, 2 Dec 2014 13:29:24 +0000 (08:29 -0500)]
css: Avoid excessive shadow rendering
The shadow rendering code had code to exit early if we determine
that the shadow is entirely clipped away. Unfortunately, the check
based on cairo clip extents fails for any clip regions that are
more complicated than axis-aligned rectangles, and we are using
a hollow rounded rectangle here. So, instead, do the check manually,
using the just-introduced API in GtkRoundedBox.
Matthias Clasen [Tue, 2 Dec 2014 13:26:36 +0000 (08:26 -0500)]
Add clipping apis to GtkRoundedBox
This adds two functions for checking whether an axis-aligned
rectangle is completely outside or inside of a rounded box.
These are not trying to be exact, but fast.
Jasper St. Pierre [Tue, 2 Dec 2014 02:01:18 +0000 (18:01 -0800)]
gtkwidget: Fix a typo preventing the CSD input shape from applying
We were setting "csd-shade" but reading from "csd-region".
Chun-wei Fan [Tue, 2 Dec 2014 01:26:35 +0000 (09:26 +0800)]
Visual Studio Build: Update GTK DLL Build Flags
As the print preview command is moved into the sources, don't define it in
the preprocessor definitions. However, define the
GTK_PRINT_BACKEND_ENABLE_UNSUPPORTED in the preprocessor definitions, to
make the build in-line with the autotools builds.
Matias De Lellis [Mon, 1 Dec 2014 20:56:05 +0000 (14:56 -0600)]
GtkPlacesSidebar: Fix Home and Desktop on Windows.
We were concatenating "file://" to the result of g_get_user_special_dir() to build
a URI, but this is not enough on Windows. Use g_filename_to_uri() instead.
See https://bugzilla.gnome.org/show_bug.cgi?id=739453
Jakub Steiner [Mon, 1 Dec 2014 18:06:02 +0000 (19:06 +0100)]
HC: clean up borders for buttons & entries
https://bugzilla.gnome.org/show_bug.cgi?id=740860
Jakub Steiner [Mon, 1 Dec 2014 16:45:26 +0000 (17:45 +0100)]
HC: vertical linked buttons,entries & combos
https://bugzilla.gnome.org/show_bug.cgi?id=740860
Jakub Steiner [Mon, 1 Dec 2014 16:26:11 +0000 (17:26 +0100)]
HC: wide separator styling
https://bugzilla.gnome.org/show_bug.cgi?id=740862
Jakub Steiner [Mon, 1 Dec 2014 14:39:19 +0000 (15:39 +0100)]
HC theme: more contrasty separators
https://bugzilla.gnome.org/show_bug.cgi?id=740863
Jakub Steiner [Mon, 1 Dec 2014 11:33:23 +0000 (12:33 +0100)]
HC theme: implement scroll overshoot
https://bugzilla.gnome.org/show_bug.cgi?id=740876
Rui Matos [Mon, 1 Dec 2014 17:24:27 +0000 (18:24 +0100)]
Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable
Commit
655c75cab791ea965e705e1b8518e6008d3a755f removed the need for
this variable but left a couple of uses in. Drop them.
Marco Trevisan (Treviño) [Mon, 1 Dec 2014 17:05:30 +0000 (18:05 +0100)]
mir: don't initialize the display if the required pixel formats aren't available
Matthias Clasen [Mon, 1 Dec 2014 15:03:33 +0000 (10:03 -0500)]
Update release notes
Mention that --enable-gtk2-dependency is gone.
Benjamin Otte [Mon, 1 Dec 2014 14:38:26 +0000 (15:38 +0100)]
inspector: Properly update flashing hilight
Previously, the inspector would not change the hilight while the
previous hilight was still flashing.
This is inconvenient while arrowing through the object selection
treeview though where you want the currently selected row to hilight
when arrowing quickly.
Marek Kasik [Fri, 28 Nov 2014 14:25:42 +0000 (15:25 +0100)]
printing: Don't crop dimensions of layout preview
Enlarge area for drawing of layout preview in the print dialog
so that it can embody landscape preview with dimensions.
https://bugzilla.gnome.org/show_bug.cgi?id=730232
Lapo Calamandrei [Mon, 1 Dec 2014 09:14:47 +0000 (10:14 +0100)]
Adwaita: scss cosmetic fixes
Lapo Calamandrei [Mon, 1 Dec 2014 09:05:42 +0000 (10:05 +0100)]
Adwaita: GtkTreeView tree lines fix
See https://bugzilla.gnome.org/show_bug.cgi?id=740904 for details.
Matthias Clasen [Mon, 1 Dec 2014 04:43:07 +0000 (23:43 -0500)]
Move print preview command to gtksettings.c
Having this in the source seems more appropriate.
Matthias Clasen [Mon, 1 Dec 2014 04:23:31 +0000 (23:23 -0500)]
Move print backend list to configure.ac
We already juggle the print backends here, might as well
produce the list.
Matthias Clasen [Mon, 1 Dec 2014 04:01:13 +0000 (23:01 -0500)]
Rearrange Makefile some more
Move the introspection parts all together, drop several unused
variables and targets.
Matthias Clasen [Mon, 1 Dec 2014 03:16:42 +0000 (22:16 -0500)]
Drop a few more leftovers
The GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED define is not used anymore,
and we don't install a gtk.css file for Raleigh, so no need to
uninstall one either.
Matthias Clasen [Mon, 1 Dec 2014 02:49:36 +0000 (21:49 -0500)]
Drop gtk-update-icon-cache complications
gtk-update-icon-cache is no longer used at build time, so a lot
of the complicated machinery we have around that (conditional
build, cross build, etc) are no longer required.
Chun-wei Fan [Mon, 1 Dec 2014 04:06:28 +0000 (12:06 +0800)]
MSVC Builds: Finish Removal of the gtk-inspector Projects
The files for build of GtkInspector have been intergrated into the build of
the main GTK+ DLL, and the Visual Studio project templates for those have
been removed as well. Make that removal complete by removing from the
solution files references to it and make the 'gtk' project not to depend on
the gtk-inspector project.
Benjamin Otte [Mon, 1 Dec 2014 03:04:08 +0000 (04:04 +0100)]
testsuite: Fix test that was committed in a broken state
1) Use font-size instead of color
This makes it easier to compare reference and test because the values
don't change.
2) Actually sort the reference properly
This unbreaks the test.
Matthias Clasen [Mon, 1 Dec 2014 01:53:07 +0000 (20:53 -0500)]
Fix distcheck
Using an absolute path with subdir-objects failed in distcheck.
Matthias Clasen [Mon, 1 Dec 2014 00:59:10 +0000 (19:59 -0500)]
Fix ChangeLog generation
missing is no longer in the toplevel directory.
Also, clean up some file lists.
Matthias Clasen [Mon, 1 Dec 2014 00:58:34 +0000 (19:58 -0500)]
Quiet a rule
Matthias Clasen [Mon, 1 Dec 2014 00:58:08 +0000 (19:58 -0500)]
Drop an unused function
Matthias Clasen [Mon, 1 Dec 2014 00:24:07 +0000 (19:24 -0500)]
Generate README and INSTALL from configure
Matthias Clasen [Mon, 1 Dec 2014 00:23:24 +0000 (19:23 -0500)]
Cosmetic formatting fixes
Matthias Clasen [Mon, 1 Dec 2014 00:22:51 +0000 (19:22 -0500)]
Add missing docs
Document GtkSwitch::state_set.
Matthias Clasen [Mon, 1 Dec 2014 00:22:00 +0000 (19:22 -0500)]
Use subdir-objects for docs/tools
Matthias Clasen [Mon, 1 Dec 2014 00:07:52 +0000 (19:07 -0500)]
Cosmetic fixes
Matthias Clasen [Mon, 1 Dec 2014 00:05:09 +0000 (19:05 -0500)]
Drop vs build stuff for inspector
Now that the inspector sources are built as part of gtk/, this should
no longer be needed.
Matthias Clasen [Sun, 30 Nov 2014 22:25:43 +0000 (17:25 -0500)]
Don't use escapes in echo strings
This forces us to fight with echo non-portability. Instead,
just use ' instead of \".
Matthias Clasen [Sun, 30 Nov 2014 21:57:22 +0000 (16:57 -0500)]
quartz: Copy annotations
Better than juggling introspection sources in the Makefile.
Matthias Clasen [Sun, 30 Nov 2014 22:18:31 +0000 (17:18 -0500)]
Quiet some make rules
Matthias Clasen [Sun, 30 Nov 2014 20:33:19 +0000 (15:33 -0500)]
Use subdir-objects in gtk/
Matthias Clasen [Sun, 30 Nov 2014 20:59:53 +0000 (15:59 -0500)]
inspector: Build nonrecursively
Matthias Clasen [Sun, 30 Nov 2014 20:30:48 +0000 (15:30 -0500)]
Split subdirectory file lists off
This moves a little closer to a proper nonrecursive setup, and
makes the gtk Makefile.am less monstrous.
Matthias Clasen [Sun, 30 Nov 2014 20:15:59 +0000 (15:15 -0500)]
List formatting cleanup
Always put sublists first.
Matthias Clasen [Sun, 30 Nov 2014 20:13:45 +0000 (15:13 -0500)]
Drop a nonexisting variable
Matthias Clasen [Sun, 30 Nov 2014 20:13:13 +0000 (15:13 -0500)]
Drop redundant include
Matthias Clasen [Sun, 30 Nov 2014 19:59:18 +0000 (14:59 -0500)]
Drop an unused variable
This is another leftover from when we were doing export checks.
Matthias Clasen [Sun, 30 Nov 2014 19:50:05 +0000 (14:50 -0500)]
Drop the extra resources/ subdirectory
This subdirectory gets in the way when integrating the inspector
build more fully with GTK+, and does not really add anything.
Just move everything one level up.
Cosimo Cecchi [Sat, 29 Nov 2014 18:33:02 +0000 (10:33 -0800)]
GtkPlacesSidebar: add support for unmount notifications
Now that we can use GNotification from here, send a notification when
umounting from GtkPlacesSidebar.
https://bugzilla.gnome.org/show_bug.cgi?id=740896
Matthias Clasen [Sat, 29 Nov 2014 23:49:46 +0000 (18:49 -0500)]
widget-factory: Add a treeview separator row
Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851
Matthias Clasen [Sat, 29 Nov 2014 22:06:04 +0000 (17:06 -0500)]
HighContrast: in app notification padding
Copied the Adwaita treatment from
e5d34372c4f163e49fb1e0a95f53445f6fa13f2c
https://bugzilla.gnome.org/show_bug.cgi?id=740857
Lapo Calamandrei [Sat, 29 Nov 2014 17:46:06 +0000 (18:46 +0100)]
HighContrast: scale slider fix and cleanup
Set GtkScale margins on the .trough component so the .slider
doesn't inherit them vanishing.
Remove a bunch trailing white spaces in the process.